import {Component, OnInit} from '@angular/core';

@Component({
  selector: 'app-myc01buy',
  templateUrl: './myc01buy.component.html',
  styleUrls: ['./myc01buy.component.css']
})
export class Myc01buyComponent implements OnInit {

  count = 3
  // imgUrl = "../assets/1.jpg"
  imgUrl = "1.jpg"

  ngOnInit(): void {
  }

  zengJia() {
    this.count++
  }

  jianShao() {
    this.count--
  }


}
